package com.liveneo.adapter.webservice.server.claim.model;

import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import org.hibernate.validator.constraints.NotBlank;

/**
  * @Description: TODO
  * @author liveneo-shuqw
  * @date 2016年10月31日 下午4:11:32
  * Copyright: Copyright (c) 2016 
  * Company: 北京朗泰
  * @version 3.0
  */
@XmlRootElement(name="GetPaperDocDto")
@XmlAccessorType(XmlAccessType.FIELD)  
@XmlType(name="GetPaperDocDto",propOrder={"caseNo",
		"lossId",
		"surveyNo",
		"surveyPhone",
		"isTask",
		"paperDocInfo",
		"docNo",
		"docName"}) 
public class GetPaperDocDto {
	
	/** 案件号 **/
	@NotBlank(message="caseNo案件号不能为空")
	public String caseNo;
	/** 损失ID **/
	@NotBlank(message="lossId任务编号不能为空")
	public String lossId;
	/** 查勘员号 **/
	@NotBlank(message="surveyNo查勘员号不能为空")
	public String surveyNo;
	/** 电话 **/
	@NotBlank(message="surveyPhone电话不能为空")
	public String surveyPhone;
	/** 是否是任务 **/
	@Size(min=0,max=1,message="isTask必须在0-1之间")
	public String isTask;
	/** 纸质单证详细说明 **/
	public String paperDocInfo;
	/** 单证人员工号 **/
	@NotBlank(message="docNo单证人员工号不能为空")
	public String docNo;
	/** 单证人员姓名 **/
	@NotBlank(message="docName单证人员姓名不能为空")
	public String docName;

	public String getCaseNo() {
		return caseNo;
	}

	public void setCaseNo(String caseNo) {
		this.caseNo = caseNo;
	}

	public String getLossId() {
		return lossId;
	}

	public void setLossId(String lossId) {
		this.lossId = lossId;
	}

	public String getSurveyNo() {
		return surveyNo;
	}

	public void setSurveyNo(String surveyNo) {
		this.surveyNo = surveyNo;
	}

	public String getSurveyPhone() {
		return surveyPhone;
	}

	public void setSurveyPhone(String surveyPhone) {
		this.surveyPhone = surveyPhone;
	}

	public String getIsTask() {
		return isTask;
	}

	public void setIsTask(String isTask) {
		this.isTask = isTask;
	}

	public String getPaperDocInfo() {
		return paperDocInfo;
	}

	public void setPaperDocInfo(String paperDocInfo) {
		this.paperDocInfo = paperDocInfo;
	}

	public String getDocNo() {
		return docNo;
	}

	public void setDocNo(String docNo) {
		this.docNo = docNo;
	}

	public String getDocName() {
		return docName;
	}

	public void setDocName(String docName) {
		this.docName = docName;
	}

}
